using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Mvc.Ajax;
using Pulog.Models;

namespace Pulog.Controllers
{
    public class FeedController : Controller
    {
        #region variables
        PostRepository postRepository = new PostRepository();
        #endregion

        public ActionResult Index()
        {
            List<Post> p = postRepository.GetRecentPostList();
            return View(p);
        }
    }
}
